package com.woniu.jifen.service;

import com.woniu.common.util.PageParam;
import com.woniu.common.util.ResponseData;
import com.woniu.jifen.entity.ACoupon;
import com.baomidou.mybatisplus.extension.service.IService;

import java.text.ParseException;
import java.util.List;

/**
* @author s‘’w
* @description 针对表【a_coupon(优惠券)】的数据库操作Service
* @createDate 2024-05-21 19:29:03
*/
public interface ACouponService extends IService<ACoupon> {

    ResponseData<?> queryCouponBySortId(PageParam<ACoupon> pageParam);

    ResponseData<?> buyCouponById(Integer id) throws ParseException;

    List<ACoupon> queryAll(String phone);

    ResponseData<?> getPrizeId(String phone);

    ResponseData<?> buyCoupon1(Integer id,String phone) throws ParseException;

    List<ACoupon> queryAllCoupons();

}
